import React, { Component } from 'react';

import { NavBar, Icon } from 'antd-mobile';


// 导入css
import './index.less'

export default class HouseList extends Component {

    render() {
        return (
            <div className='houselist'>
                <NavBar
                    mode="light"
                    icon={<Icon type="left" />}
                    onLeftClick={() => console.log('onLeftClick')}
                    rightContent={[
                        <Icon key="0" type="search" style={{ marginRight: '16px' }} />,
                        <Icon key="1" type="ellipsis" />,
                    ]}
                >NavBar</NavBar>
            </div>
        )
    }
}